﻿namespace App.Chat.Hubs
{
    public interface IChatHub
    {
        Task<string?> GetConnIdByUserIdAsync(string userId);
        Task<bool> IsOnlineByUserIdAsync(string userId);
        //Task SendMsgToFriendAsync(string userId, string message);
        //Task FlushSessionList(string userId);
        Task SendMsgToSpecialClient(string connId, string method, params object[] objects);
        Task SendMsgToSpecialClients(List<string> connIdList, string method, params object[] objects);
    }
}
